using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Admin2024.Domain.Entity
{
    public class BaseEntity
    {

        protected BaseEntity() { }
        protected BaseEntity(Guid id)
        {
            Id = id;
        }
        // 主键Id
        public Guid Id { get; set; }
           public string? BaseCode { get; set; }

        // 是否启用/激活
        public bool IsActived { get; set; }

        // 是否删除
        public bool IsDeleted { get; set; }

        // 创建时间
        public DateTime CreatedAt { get; set; }

        // 创建人
        public Guid CreatedBy { get; set; }

        // 最后更新时间
        public DateTime UpdatedAt { get; set; }

        // 最后更新人
        public Guid UpdatedBy { get; set; }

        // 显示顺序，数字越大越靠前
        public int DisplayOrder { get; set; }

        // 备注
        public string? Remarks { get; set; }


    }
}